package com.crm.dao.mapper.customerManager;

import com.crm.model.entity.customerManager.CustomerRelation;
import com.crm.model.entity.customerManager.CustomerRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerRelationMapper {
    long countByExample(CustomerRelationExample example);

    int deleteByExample(CustomerRelationExample example);

    int deleteByPrimaryKey(String customerRelationId);

    int insert(CustomerRelation record);

    int insertSelective(CustomerRelation record);

    List<CustomerRelation> selectByExample(CustomerRelationExample example);

    CustomerRelation selectByPrimaryKey(String customerRelationId);

    int updateByExampleSelective(@Param("record") CustomerRelation record, @Param("example") CustomerRelationExample example);

    int updateByExample(@Param("record") CustomerRelation record, @Param("example") CustomerRelationExample example);

    int updateByPrimaryKeySelective(CustomerRelation record);

    int updateByPrimaryKey(CustomerRelation record);
}